  /**
<<<<<<< HEAD
   * Generate time : 2016-04-05 14:20:47
=======
   * Generate time : 2016-04-05 14:07:22
>>>>>>> 3148ffaf3555e3dd08020d1a417b672e28436b3b
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cg.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCGNotice 
 * table comment : 调度通知表 
 */
public class ZMCGNotice extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdType = "0";		/* 通知类型*/
	private String fdTitle = " ";		/* 通知标题*/
	private String fdContent = " ";		/* 工程内容*/
	private String fdStatus = "草拟";		/* 状态*/
	private String fdIsApproval = "0";		/* 是否审批*/
	private String fdPersonId = " ";		/* 编制人ID*/
	private String fdPerson = " ";		/* 编制人*/
	private String fdApprovalId = " ";		/* 审批人ID*/
	private String fdApproval = " ";		/* 审批人*/
	private String fdTime = " ";		/* 编制时间*/
	private String fdApprovalTime = " ";		/* 审批时间*/
	private String fdIsTop = "0";		/* 是否置顶*/
	private String fdMiningId = " ";		/* 矿井id*/
	private String fdMobile=" "; /* 短信接收人员手机号*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdType");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("通知类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdTitle");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("通知标题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdContent");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("工程内容");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdIsApproval");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("是否审批");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPersonId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("编制人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("编制人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdApprovalId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("审批人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdApproval");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("审批人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("编制时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdApprovalTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("审批时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdIsTop");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("是否置顶");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMobile");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("手机号");
	eiMetadata.addMeta(eiColumn);
	}
	/**
	 * the constructor
	 */
	public ZMCGNotice() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdType - 通知类型
	 * @return the fdType
	 */
	public String getFdType() {
		return this.fdType;
	}
	
	/**
	 * set the fdType - 通知类型
	 */
	public void setFdType(String fdType) {
		this.fdType = fdType;
	}
	/**
	 * get the fdTitle - 通知标题
	 * @return the fdTitle
	 */
	public String getFdTitle() {
		return this.fdTitle;
	}
	
	/**
	 * set the fdTitle - 通知标题
	 */
	public void setFdTitle(String fdTitle) {
		this.fdTitle = fdTitle;
	}
	/**
	 * get the fdContent - 工程内容
	 * @return the fdContent
	 */
	public String getFdContent() {
		return this.fdContent;
	}
	
	/**
	 * set the fdContent - 工程内容
	 */
	public void setFdContent(String fdContent) {
		this.fdContent = fdContent;
	}
	/**
	 * get the fdStatus - 状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the fdIsApproval - 是否审批
	 * @return the fdIsApproval
	 */
	public String getFdIsApproval() {
		return this.fdIsApproval;
	}
	
	/**
	 * set the fdIsApproval - 是否审批
	 */
	public void setFdIsApproval(String fdIsApproval) {
		this.fdIsApproval = fdIsApproval;
	}
	/**
	 * get the fdPersonId - 编制人ID
	 * @return the fdPersonId
	 */
	public String getFdPersonId() {
		return this.fdPersonId;
	}
	
	/**
	 * set the fdPersonId - 编制人ID
	 */
	public void setFdPersonId(String fdPersonId) {
		this.fdPersonId = fdPersonId;
	}
	/**
	 * get the fdPerson - 编制人
	 * @return the fdPerson
	 */
	public String getFdPerson() {
		return this.fdPerson;
	}
	
	/**
	 * set the fdPerson - 编制人
	 */
	public void setFdPerson(String fdPerson) {
		this.fdPerson = fdPerson;
	}
	/**
	 * get the fdApprovalId - 审批人ID
	 * @return the fdApprovalId
	 */
	public String getFdApprovalId() {
		return this.fdApprovalId;
	}
	
	/**
	 * set the fdApprovalId - 审批人ID
	 */
	public void setFdApprovalId(String fdApprovalId) {
		this.fdApprovalId = fdApprovalId;
	}
	/**
	 * get the fdApproval - 审批人
	 * @return the fdApproval
	 */
	public String getFdApproval() {
		return this.fdApproval;
	}
	
	/**
	 * set the fdApproval - 审批人
	 */
	public void setFdApproval(String fdApproval) {
		this.fdApproval = fdApproval;
	}
	/**
	 * get the fdTime - 编制时间
	 * @return the fdTime
	 */
	public String getFdTime() {
		return this.fdTime;
	}
	
	/**
	 * set the fdTime - 编制时间
	 */
	public void setFdTime(String fdTime) {
		this.fdTime = fdTime;
	}
	/**
	 * get the fdApprovalTime - 审批时间
	 * @return the fdApprovalTime
	 */
	public String getFdApprovalTime() {
		return this.fdApprovalTime;
	}
	
	/**
	 * set the fdApprovalTime - 审批时间
	 */
	public void setFdApprovalTime(String fdApprovalTime) {
		this.fdApprovalTime = fdApprovalTime;
	}
	/**
	 * get the fdIsTop - 是否置顶
	 * @return the fdIsTop
	 */
	public String getFdIsTop() {
		return this.fdIsTop;
	}
	
	/**
	 * set the fdIsTop - 是否置顶
	 */
	public void setFdIsTop(String fdIsTop) {
		this.fdIsTop = fdIsTop;
	}
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	
	/**
	 * get the fdMobile - 手机号
	 * @return the fdMobile
	 */
	public String getFdMobile() {
		return this.fdMobile;
	}
	
	/**
	 * set the fdMobile - 手机号
	 */
	public void setFdMobile(String fdMobile) {
		this.fdMobile = fdMobile;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdType")), fdType));
		setFdTitle(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTitle")), fdTitle));
		setFdContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContent")), fdContent));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdIsApproval(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdIsApproval")), fdIsApproval));
		setFdPersonId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPersonId")), fdPersonId));
		setFdPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPerson")), fdPerson));
		setFdApprovalId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApprovalId")), fdApprovalId));
		setFdApproval(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApproval")), fdApproval));
		setFdTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTime")), fdTime));
		setFdApprovalTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApprovalTime")), fdApprovalTime));
		setFdIsTop(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdIsTop")), fdIsTop));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
		setFdMobile(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMobile")), fdMobile));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdType",StringUtils.toString(fdType, eiMetadata.getMeta("fdType")));	
			map.put("fdTitle",StringUtils.toString(fdTitle, eiMetadata.getMeta("fdTitle")));	
			map.put("fdContent",StringUtils.toString(fdContent, eiMetadata.getMeta("fdContent")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdIsApproval",StringUtils.toString(fdIsApproval, eiMetadata.getMeta("fdIsApproval")));	
			map.put("fdPersonId",StringUtils.toString(fdPersonId, eiMetadata.getMeta("fdPersonId")));	
			map.put("fdPerson",StringUtils.toString(fdPerson, eiMetadata.getMeta("fdPerson")));	
			map.put("fdApprovalId",StringUtils.toString(fdApprovalId, eiMetadata.getMeta("fdApprovalId")));	
			map.put("fdApproval",StringUtils.toString(fdApproval, eiMetadata.getMeta("fdApproval")));	
			map.put("fdTime",StringUtils.toString(fdTime, eiMetadata.getMeta("fdTime")));	
			map.put("fdApprovalTime",StringUtils.toString(fdApprovalTime, eiMetadata.getMeta("fdApprovalTime")));	
			map.put("fdIsTop",StringUtils.toString(fdIsTop, eiMetadata.getMeta("fdIsTop")));	
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));	
			map.put("fdMobile",StringUtils.toString(fdMobile, eiMetadata.getMeta("fdMobile")));	
			
		return map;
	
	}
}